from matplotlib import pyplot as plt
import cv2
import numpy
img = plt.imread("./class/cheetah.jpg")
plt.imshow(img)
plt.show()

kernel = numpy.array([[0,-1,0],[-1,4,-1],[0,-1,0]])
img2 = cv2.filter2D(src=img,ddepth=-1,kernel=kernel)
plt.imshow(img2)
plt.show()